﻿//---------------------------------------------------------------------
//  Copyright (c) 2012-2013 Daun Project.  All rights reserved.
//  http://daun.codeplex.com
//  http://www.daun-project.com
//---------------------------------------------------------------------

using System;
using System.Windows.Forms;

namespace Daun.Forms
{
    public partial class UserForm : Form
    {
        public string UserName
        {
            set
            {
                this.txtUserName.Text = value;
            }
            get
            {
                return this.txtUserName.Text;
            }
        }
        public string Password
        {
            set
            {
                this.txtPassword.Text = value;
            }
            get
            {
                return this.txtPassword.Text;
            }
        }
        public bool IsReadOnlyUser
        {
            set
            {
                this.chckReadonly.Checked = value;
            }
            get
            {
                return this.chckReadonly.Checked;
            }
        }
        public UserForm()
        {
            InitializeComponent();
        }
    }
}
